<?php if (!defined('THINK_PATH')) exit();?><!--<meta http-equiv="refresh" content="1"/>-->
<link href="/Public/Admin/css/same.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="/Public/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/layer/layer.js" type="text/javascript"></script>
<script src="/Public/js/bootstrap.js" type="text/javascript"></script>
<script src="/Public/Admin/js/TradeInfo.js" type="text/javascript"></script>
<div class="a-main-left-content">
    <div class="a_con_title">
        <h4>交易订单管理</h4>
    </div>
    <div class="a_title_tip">
        <img class="a_record_icon" src="/Public/img/record_01.jpg"/>
        <span class="a_record_news">请及时确认交易订单。</span>
    </div>

    <div class="read_type_box">
        <div class="trade_box">
            <?php if(is_array($_getBookBuyInfo)): $i = 0; $__LIST__ = $_getBookBuyInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="trade_info_box">
                    <div class="per_info" id="box_zz">
                        <span style="margin-left: 30px"><?php echo ($vo['real_name']); ?></span>
                        <span><?php echo ($vo['u_address']); ?></span>
                        <span><?php echo ($vo['u_tel']); ?></span>
                        <span>支付方式：</span>
                        <?php if($vo['buy_type'] == 1): ?><span>货到付款</span>
                            <?php else: ?>
                            <span><?php echo ($vo['bank']); ?>：</span>
                            <span><?php echo ($vo['bank_number']); ?></span><?php endif; ?>
                    </div>
                    <div class="per_info">
                        <span>《<?php echo ($vo['book_name']); ?>》</span>
                        <span>￥<?php echo ($vo['book_price']); ?></span>
                        <span>数量：1</span>
                        <span><?php echo (date('Y-m-d H:i:s',$vo['buybook_time'])); ?></span>
                        <button type="button" class="button_info save" data-id="<?php echo ($vo['buybook_id']); ?>">确认订单</button>
                        <input type="hidden" value="<?php echo U('Admin/InfoManage/tradeInfoStatus');?>" id="tradeStatus">
                    </div>
                </div><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
</div>